package net.asgarli.ivault.api;

/**
 * Defines the encryption algorithm used. 
 * 
 * @author Elchin Asgarli
 * @version 0.1
 * @since 0.1
 */
public enum EncryptionMethod {

	NO_ENCRYPTION (0),
	AES (1),
	TWOFISH(2),
	;
	
	/** Type code of key supply inside the file.  */
	private int typeCode;
	
	private EncryptionMethod(int typeCode) {
		this.typeCode = typeCode;
	}
	
	public int getCode() {
		return typeCode;
	}
}
